package ClassTest.JDBCtest;

import ClassTest.JDBCtest.UI.MainUI;
import ClassTest.JDBCtest.dao.JDBCDao;
import ClassTest.JDBCtest.service.Service;

public class Main {
    public static void main(String[] args) throws Exception {
        JDBCDao jdbcDao = new JDBCDao();
        Service service = new Service(jdbcDao);
        MainUI mainUI = new MainUI(service);
        System.out.println("欢迎使用！");
        mainUI.run();
    }
}
